package com.bionic.banking.core.enums;

public enum BankTransactionTypeEnum {

    MakeCharge("MakeCharge"), 
    Withdraw("Withdraw"),
    TransferFunds("TransferFunds"),
    MakePayment("MakePayment");
    
    private final String title;

    private BankTransactionTypeEnum(String t) {
        title = t;
    }

    public String toString() {
        return title;
    }

    public static BankTransactionTypeEnum parseString(String name) {
        BankTransactionTypeEnum enumValue = EnumUtil.getEnumFromString(BankTransactionTypeEnum.class, name);
        return enumValue;
    }   
}
